﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DuLieu
{
    public class PhuongDTO : IComparable
    {
        int _maPhuong;

        public int MaPhuong
        {
            get { return _maPhuong; }
            set { _maPhuong = value; }
        }
        string _tenPhuong;

        public string TenPhuong
        {
            get { return _tenPhuong; }
            set { _tenPhuong = value; }
        }

        public int CompareTo(object obj)
        {
            PhuongDTO otherPhuong = (PhuongDTO)obj;
            return this._tenPhuong.CompareTo(otherPhuong._tenPhuong);
        }
    }
}
